C# |
---|
public static Stream StringToMemStream(String text) |
C# |
---|
using System.IO; using LJCNetCommon; // Creates a memory stream from a string. private static void StringToMemStream() { using (Stream stream = NetCommon.StringToMemStream("Text")) { // Check the text. string text = NetCommon.MemStreamToString(stream); } } |